package com.lovo.project.enums;

import lombok.Getter;
import org.omg.PortableInterceptor.USER_EXCEPTION;

/**
 * @title 用户角色状态枚举
 * @author: yuyuan
 * @date: 2020/11/3 14:18
 */
@Getter
public enum UserRoleCodeEnum {
    /**删除角色错误*/
    USER_ROLE_DELETEEXP_ENUM(5202,"删除角色异常"),
    /**添加角色错误*/
    USER_ROLE_INSERTEXP_ENUM(5203,"添加角色异常"),
    /**未知异常*/
    USER_ROLE_UNKNOW_ENUM(9999,"未知异常");


    /**枚举状态码*/
    private int code;
    /**状态信息*/
    private String msg;

    UserRoleCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }



}
